﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace THO7_Team8
{
    public abstract class VisionAlgorithm
    {
        protected static int BLACK = -16777216, WHITE = -1;

        public int _configValue;

        public int ConfigValue
        {
            get
            {
                return _configValue;
            }
            set
            {
                _configValue = ConfigValue;
            }
        }

        private String _Name;

        public String Name
        {
            get
            {
                return _Name;
            }
            set
            {
                _Name = Name;
            }
        }

        public VisionAlgorithm(String name)
        {
            this._Name = name;
        }

        public abstract Bitmap DoAlgorithm(Bitmap sourceImage);

        public Boolean hasConfiguration = false;
        public Form configuration;
    }
}